package twi.filter.impl;

import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import twi.filter.Filter;

import com.hp.hpl.jena.rdf.model.RDFNode;

public class AnonFilter implements Filter {

	@Override
	public boolean isValid(RDFNode node) {
		if (node == null)
			return true;
		return !node.isAnon();
	}

	@Override
	public void decodeString(String filterString) {
		throw new NotImplementedException();
	}

	@Override
	public String encodeString() {
		throw new NotImplementedException();
	}

}
